Lisa, before v . 3, was able to assemble SWEET16 codes, a virtual 16-bit processor implemented as part of the Integer BASIC . However, the Apple II's Integer BASIC ROMs were replaced by Applesoft BASIC ROMs since the Apple II +, and the latter didn't contain the SWEET16 interpreter code.
2.
:I don't know anything about actually embedding the interpreter code within the executable ( remember stupid licensing issues if you plan on actually doing this ), but scripting languages have command line interpreters that you can just include in your package . . php . exe for the Windows PHP implementation, / bin / perl on linux systems ..